package org.jeecg.modules.business.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
/*
 * 协议入住记录
 * */
public class BusMarketAgreementCheckInRecordDto {
    @Excel(name = "单号", width = 15)
    @ApiModelProperty(value = "单号")
    private String orderNumber;

    @Excel(name = "房间号", width = 15)
    @ApiModelProperty(value = "房间号")
    private String roomNumber;

    @Excel(name = "房价", width = 15)
    @ApiModelProperty(value = "房价")
    private BigDecimal housePrice;

    /**入住时间*/
    @Excel(name = "入住时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "入住时间")
    private Date arrivalTime;

    /**预离时间*/
    @Excel(name = "预离时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "预离时间")
    private Date dueOutTime;

    /**入住天数*/
    @Excel(name = "入住天数", width = 15)
    @ApiModelProperty(value = "入住天数")
    private Integer dayCount;

    @Excel(name = "入住类型", width = 15)
    @ApiModelProperty(value = "入住类型")
    private Integer checkinType;

    @Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private Integer status;

    @Excel(name = "客人姓名", width = 15)
    @ApiModelProperty(value = "客人姓名")
    private String customerName;

    @Excel(name = "总消费", width = 15)
    @ApiModelProperty(value = "总消费")
    private BigDecimal totalPrice;

    private String agreementId;
    private String startDate;
    private String endDate;

    private String agreementCustomerId;
    private String layoutId;
}
